package com.zmzncs.lmtc.module.promotion.pojo.month_rule_pull;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 直联车场-月租规则
 * </p>
 *
 * @author 高博文
 * @since 2021-03-22
 */
@Data
public class MonthRulePullUpdateForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id",required = true)
    @NotNull
    private Long id;

    @ApiModelProperty(value = "平台月租名称")
    private String marketingMonthName;

    @ApiModelProperty(value = "平台月租编码")
    private Integer marketingMonthCode;

    @ApiModelProperty(value = "平台月租金额")
    private Long marketingMonthAmount;

    @ApiModelProperty(value = "月租每天开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "月租每天结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endTime;

}
